package com.hzw.saas.common.config.action;

import io.netty.channel.Channel;
import lombok.Data;
import lombok.ToString;


public interface IEvent<T,R> {

    /**
     * 处理业务
     * @param request
     * @param channel
     * @return
     */
    R handle(final T request, final Channel channel);
}
